package com.fqcar.fqdf.entity;

import android.os.Parcel;
import android.os.Parcelable;

import com.fqdf.framework.android.net.response.BaseRespBean;

/**
 * Created by lvsidong on 2018/3/29.
 */

public class UseableStationEntity extends BaseRespBean implements Parcelable {

    public int areaShape;
    public String backArea;
    public int id;

    public int getAreaShape() {
        return areaShape;
    }

    public void setAreaShape(int areaShape) {
        this.areaShape = areaShape;
    }

    public String getBackArea() {
        return backArea;
    }

    public void setBackArea(String backArea) {
        this.backArea = backArea;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.areaShape);
        dest.writeString(this.backArea);
        dest.writeInt(this.id);
    }

    public UseableStationEntity() {
    }

    protected UseableStationEntity(Parcel in) {
        this.areaShape = in.readInt();
        this.backArea = in.readString();
        this.id = in.readInt();
    }

    public static final Creator<UseableStationEntity> CREATOR = new Creator<UseableStationEntity>() {
        @Override
        public UseableStationEntity createFromParcel(Parcel source) {
            return new UseableStationEntity(source);
        }

        @Override
        public UseableStationEntity[] newArray(int size) {
            return new UseableStationEntity[size];
        }
    };
}
